package com.ruoyi.web.controller.teaching;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.service.PlatformMMapTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 王旭
 * @since 2025-02-14
 */
@RestController
@RequestMapping("/platform/mapType")
@Api(tags = "platform-全景地图类型管理")
public class PlatformMMapTypeController {
    @Autowired
    private PlatformMMapTypeService platformMMapTypeService;

    /**
     * 查询全部全景地图类型
     */
    @GetMapping("/listAll")
    @ApiOperation(value = "查询全部全景地图类型", notes = "查询全部全景地图类型")
    public AjaxResult list() {
        return platformMMapTypeService.listAll();
    }

}

